home *** CD-ROM | disk | FTP | other *** search
- ;;; Demo World Fly File
- ;;; National Center for Supercomputing Applications at
- ;;; University of Illinois in Urbana-Champaign
- ;;;
- ;;; PURPOSE
- ;;; Controls a PolyView "flight" through the demo.hdf sample world.
- ;;; Camera tracks across field of tetrahedrons and through an aisle
- ;;; of them, stops at a wall and pans 270 degrees to its left, then travels
- ;;; through a tunnel of cubes and zooms up to view the world from on high.
- ;;; After a few orbits, it then flies back to its original position.
-
- move path spherical
-
- ;;; Initialize Position to edge of array.
- move camera .25 0.0 10
- move focus point .25 .25 4.0
-
- ;;; Move the move focus point point to the end of the aisle.
- move focus point 1.75 .25 .25
-
- ;;; Move the camera to the other end of the aisle.
- move camera 1.75 0.0 10
-
- ;;; Move the camera down the aisle until the wall stops it.
- move camera 1.75 .25 .75
-
- ;;; Pan the camera to the left 270 degrees.
- move focus point .25 .25 .75
- move focus point 1.75 .25 10
- move focus point 20 .25 .75
-
- ;;; Move the camera through the tunnel
- move camera 15 .25 .75
-
- ;;; And pull the camera up to view the entire scene.
- move camera 15 2 .75
- move focus point .25 .25 4
- move camera 15 8 .75
-
- ;;; Circle the world.
- move camera .75 5 15
- move camera -15 5 .75
- move camera -.75 5 -15
- move camera 15 5 .75
-
- ;;; Swoop down over the top of the tunnel
- move camera 13 2 .75
- move camera 1.5 1.5 .75
-
- ;;; And then undernemove focus pointh the bottom plane.
- move camera -3.5 -4 8
- move camera -.5 -2 12
-
- ;;; Then back to the original position.
- move camera .25 0.0 10
-
- ;;; Track along the perimeter of the world.
- move camera 3 .5 10
- move camera 3 .5 2
- move camera 13 1 2
- move camera 13 1 -.5
- move camera -.5 0.0 -.5
- move camera -.5 1 10
-
- ;;; Back to the original position.
- move camera .25 0.0 10
-